// 服务路由
const DemoSer = require('../service/demo.js')

const routes = [
  {
    path: '/service/demo/query',
    name: 'demo',
    service: DemoSer,
    method: 'get',
    action: 'query'
  },
  // 正则示例
  // {
  //   path: /\/service\/demo\/query/,
  //   name: 'demo',
  //   service: DemoSer,
  //   method: 'get',
  //   action: 'query'
  // }
]

module.exports = routes